<template>
  <div id="app">
<!--    <div id="content">-->
      <!--<router-link to="/about">About</router-link>-->
<!--      <div class="box"></div>-->
<!--    </div>-->
    <router-view/>
  </div>
</template>

<script>
  import {mapState} from 'vuex'
  export default {
    name: 'home',
    computed:{
      ...mapState({
        baseUrl:state => state.baseUrl
      })
    },
    mounted() {
      // this.$post(
      //   // this.baseUrl+"/api/teacher/getTeacherBasicInfo",
      //   // "http://127.0.0.1:8002/api/teacher/getTeacherBasicInfo",
      //   "/api/teacher/getTeacherBasicInfo",
      //   {
      //     teacher_id:1
      //   }
      // ).then(res=>{
      //  console.log(res)
      // }).catch(
      //
      // )
    }
  }


</script>

<style lang="less">

  html{
    height: 100%;
  }
  body{
    height: 100%;
  }
  #app{
    height: 100%;
  }
/*#app {*/
/*  font-family: 'Avenir', Helvetica, Arial, sans-serif;*/
/*  -webkit-font-smoothing: antialiased;*/
/*  -moz-osx-font-smoothing: grayscale;*/
/*  text-align: center;*/
/*  color: #2c3e50;*/
/*}*/

/*#nav {*/
/*  padding: 30px;*/

/*  a {*/
/*    font-weight: bold;*/
/*    color: #2c3e50;*/

/*    &.router-link-exact-active {*/
/*      color: #42b983;*/
/*    }*/
/*  }*/
/*}*/
</style>
